//---------------------------------------------------------------------------

#ifndef socklibH
#define socklibH
//---------------------------------------------------------------------------
#endif

#include <windows.h>

int SetSocketRcvTimeout(SOCKET sock,long sec,long usec);

int SetSocketSndTimeout(SOCKET sock,long sec,long usec);

bool SetSocketKeepAlive(SOCKET sock,u_long keepalivetime,u_long keepaliveinterval);
